<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::BoxConstraintHandler&lt; Vector &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_box_constraint_handler.html">BoxConstraintHandler</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_box_constraint_handler-members.html">List of all members</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle"><div class="title">shark::BoxConstraintHandler&lt; Vector &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__objfunctions.html">Objective functions</a> &raquo; <a class="el" href="group__constraint__handling.html">Constraint Handling</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Handler for box-constraints.  
 <a href="classshark_1_1_box_constraint_handler.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_box_constraint_handler_8h_source.html">shark/ObjectiveFunctions/BoxConstraintHandler.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::BoxConstraintHandler&lt; Vector &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_box_constraint_handler__inherit__graph.png" border="0" usemap="#ashark_1_1_box_constraint_handler_3_01_vector_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_box_constraint_handler_3_01_vector_01_4_inherit__map" id="ashark_1_1_box_constraint_handler_3_01_vector_01_4_inherit__map">
<area shape="rect" title="Handler for box&#45;constraints." alt="" coords="5,94,195,135"/>
<area shape="rect" href="classshark_1_1_abstract_constraint_handler.html" title=" " alt="" coords="15,5,185,46"/>
<area shape="poly" title=" " alt="" coords="103,62,103,94,97,94,97,62"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae234333cf7124b58f49a67b2bee42f61" id="r_ae234333cf7124b58f49a67b2bee42f61"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#ae234333cf7124b58f49a67b2bee42f61">BoxConstraintHandler</a> (Vector const &amp;<a class="el" href="classshark_1_1_box_constraint_handler.html#a8de148cc2f808bb97a4538a0902fee5e">lower</a>, Vector const &amp;<a class="el" href="classshark_1_1_box_constraint_handler.html#aa205d494b0ce2c7fa9fd05c2721939d2">upper</a>)</td></tr>
<tr class="separator:ae234333cf7124b58f49a67b2bee42f61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a536349ab325db6fe2df852190f2b8d21" id="r_a536349ab325db6fe2df852190f2b8d21"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#a536349ab325db6fe2df852190f2b8d21">BoxConstraintHandler</a> (std::size_t dim, double <a class="el" href="classshark_1_1_box_constraint_handler.html#a8de148cc2f808bb97a4538a0902fee5e">lower</a>, double <a class="el" href="classshark_1_1_box_constraint_handler.html#aa205d494b0ce2c7fa9fd05c2721939d2">upper</a>)</td></tr>
<tr class="separator:a536349ab325db6fe2df852190f2b8d21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfd93364ac568994b65108860a76435b" id="r_adfd93364ac568994b65108860a76435b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#adfd93364ac568994b65108860a76435b">BoxConstraintHandler</a> ()</td></tr>
<tr class="separator:adfd93364ac568994b65108860a76435b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a280f8c3a860866242596e6e2ea3ff2b7" id="r_a280f8c3a860866242596e6e2ea3ff2b7"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#a280f8c3a860866242596e6e2ea3ff2b7">dimensions</a> () const</td></tr>
<tr class="separator:a280f8c3a860866242596e6e2ea3ff2b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a87fd3165faee82fb59ab50ed7ad8aa" id="r_a3a87fd3165faee82fb59ab50ed7ad8aa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#a3a87fd3165faee82fb59ab50ed7ad8aa">isFeasible</a> (Vector const &amp;point) const</td></tr>
<tr class="memdesc:a3a87fd3165faee82fb59ab50ed7ad8aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the point is in the feasible Region.  <br /></td></tr>
<tr class="separator:a3a87fd3165faee82fb59ab50ed7ad8aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a791747463fd86c8988f4caafda3b6e55" id="r_a791747463fd86c8988f4caafda3b6e55"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#a791747463fd86c8988f4caafda3b6e55">closestFeasible</a> (Vector &amp;point) const</td></tr>
<tr class="separator:a791747463fd86c8988f4caafda3b6e55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c5a1e0e7f1041abd44844d3e2083c12" id="r_a7c5a1e0e7f1041abd44844d3e2083c12"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#a7c5a1e0e7f1041abd44844d3e2083c12">generateRandomPoint</a> (random::rng_type &amp;rng, Vector &amp;startingPoint) const</td></tr>
<tr class="memdesc:a7c5a1e0e7f1041abd44844d3e2083c12"><td class="mdescLeft">&#160;</td><td class="mdescRight">If supported, generates a random point inside the feasible region.  <br /></td></tr>
<tr class="separator:a7c5a1e0e7f1041abd44844d3e2083c12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51bcb77430772e37ab1b464196e5e3a7" id="r_a51bcb77430772e37ab1b464196e5e3a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#a51bcb77430772e37ab1b464196e5e3a7">setBounds</a> (Vector const &amp;<a class="el" href="classshark_1_1_box_constraint_handler.html#a8de148cc2f808bb97a4538a0902fee5e">lower</a>, Vector const &amp;<a class="el" href="classshark_1_1_box_constraint_handler.html#aa205d494b0ce2c7fa9fd05c2721939d2">upper</a>)</td></tr>
<tr class="memdesc:a51bcb77430772e37ab1b464196e5e3a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets lower and upper bounds of the box.  <br /></td></tr>
<tr class="separator:a51bcb77430772e37ab1b464196e5e3a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b6f3e142b99c89efb273b6b339ceb98" id="r_a8b6f3e142b99c89efb273b6b339ceb98"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#a8b6f3e142b99c89efb273b6b339ceb98">setBounds</a> (std::size_t dimension, double <a class="el" href="classshark_1_1_box_constraint_handler.html#a8de148cc2f808bb97a4538a0902fee5e">lower</a>, double <a class="el" href="classshark_1_1_box_constraint_handler.html#aa205d494b0ce2c7fa9fd05c2721939d2">upper</a>)</td></tr>
<tr class="memdesc:a8b6f3e142b99c89efb273b6b339ceb98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets lower and upper bounds of the box.  <br /></td></tr>
<tr class="separator:a8b6f3e142b99c89efb273b6b339ceb98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8de148cc2f808bb97a4538a0902fee5e" id="r_a8de148cc2f808bb97a4538a0902fee5e"><td class="memItemLeft" align="right" valign="top">Vector const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#a8de148cc2f808bb97a4538a0902fee5e">lower</a> () const</td></tr>
<tr class="memdesc:a8de148cc2f808bb97a4538a0902fee5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the lower bound of the box.  <br /></td></tr>
<tr class="separator:a8de148cc2f808bb97a4538a0902fee5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa205d494b0ce2c7fa9fd05c2721939d2" id="r_aa205d494b0ce2c7fa9fd05c2721939d2"><td class="memItemLeft" align="right" valign="top">Vector const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_box_constraint_handler.html#aa205d494b0ce2c7fa9fd05c2721939d2">upper</a> () const</td></tr>
<tr class="memdesc:aa205d494b0ce2c7fa9fd05c2721939d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the upper bound of the box.  <br /></td></tr>
<tr class="separator:aa205d494b0ce2c7fa9fd05c2721939d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_constraint_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_constraint_handler')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_constraint_handler.html">shark::AbstractConstraintHandler&lt; Vector &gt;</a></td></tr>
<tr class="memitem:a19f2929814f2df8c5af3d801f6f0fa4f inherit pub_methods_classshark_1_1_abstract_constraint_handler" id="r_a19f2929814f2df8c5af3d801f6f0fa4f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_constraint_handler.html#add645da2ddc1cdbdaa89237a2a2d0b63">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#a19f2929814f2df8c5af3d801f6f0fa4f">features</a> () const</td></tr>
<tr class="separator:a19f2929814f2df8c5af3d801f6f0fa4f inherit pub_methods_classshark_1_1_abstract_constraint_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a16a6bb43de84d48387c1522f7a4a7b inherit pub_methods_classshark_1_1_abstract_constraint_handler" id="r_a5a16a6bb43de84d48387c1522f7a4a7b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#a5a16a6bb43de84d48387c1522f7a4a7b">updateFeatures</a> ()</td></tr>
<tr class="separator:a5a16a6bb43de84d48387c1522f7a4a7b inherit pub_methods_classshark_1_1_abstract_constraint_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9899a9acc5ed780f9849b3334b1921b inherit pub_methods_classshark_1_1_abstract_constraint_handler" id="r_af9899a9acc5ed780f9849b3334b1921b"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#af9899a9acc5ed780f9849b3334b1921b">~AbstractConstraintHandler</a> ()</td></tr>
<tr class="separator:af9899a9acc5ed780f9849b3334b1921b inherit pub_methods_classshark_1_1_abstract_constraint_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05adea67dd581616abf51b9f51d425c9 inherit pub_methods_classshark_1_1_abstract_constraint_handler" id="r_a05adea67dd581616abf51b9f51d425c9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#a05adea67dd581616abf51b9f51d425c9">canProvideClosestFeasible</a> () const</td></tr>
<tr class="memdesc:a05adea67dd581616abf51b9f51d425c9 inherit pub_methods_classshark_1_1_abstract_constraint_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this function can calculate the closest feasible to an infeasible point.  <br /></td></tr>
<tr class="separator:a05adea67dd581616abf51b9f51d425c9 inherit pub_methods_classshark_1_1_abstract_constraint_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedb08703ce0c179aa3a05f17d4a1874f inherit pub_methods_classshark_1_1_abstract_constraint_handler" id="r_aedb08703ce0c179aa3a05f17d4a1874f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#aedb08703ce0c179aa3a05f17d4a1874f">isBoxConstrained</a> () const</td></tr>
<tr class="memdesc:aedb08703ce0c179aa3a05f17d4a1874f inherit pub_methods_classshark_1_1_abstract_constraint_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this function is an instance of <a class="el" href="classshark_1_1_box_constraint_handler.html" title="Handler for box-constraints.">BoxConstraintHandler</a>.  <br /></td></tr>
<tr class="separator:aedb08703ce0c179aa3a05f17d4a1874f inherit pub_methods_classshark_1_1_abstract_constraint_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a454524f3253a60a2564a21045fbdc5e9 inherit pub_methods_classshark_1_1_abstract_constraint_handler" id="r_a454524f3253a60a2564a21045fbdc5e9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#a454524f3253a60a2564a21045fbdc5e9">canGenerateRandomPoint</a> () const</td></tr>
<tr class="memdesc:a454524f3253a60a2564a21045fbdc5e9 inherit pub_methods_classshark_1_1_abstract_constraint_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this function is an instance of <a class="el" href="classshark_1_1_box_constraint_handler.html" title="Handler for box-constraints.">BoxConstraintHandler</a>.  <br /></td></tr>
<tr class="separator:a454524f3253a60a2564a21045fbdc5e9 inherit pub_methods_classshark_1_1_abstract_constraint_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_constraint_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_constraint_handler')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_constraint_handler.html">shark::AbstractConstraintHandler&lt; Vector &gt;</a></td></tr>
<tr class="memitem:add5028257a6639b20d8158a8d2a39f8b inherit pub_types_classshark_1_1_abstract_constraint_handler" id="r_add5028257a6639b20d8158a8d2a39f8b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#add5028257a6639b20d8158a8d2a39f8b">Feature</a> </td></tr>
<tr class="separator:add5028257a6639b20d8158a8d2a39f8b inherit pub_types_classshark_1_1_abstract_constraint_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add645da2ddc1cdbdaa89237a2a2d0b63 inherit pub_types_classshark_1_1_abstract_constraint_handler" id="r_add645da2ddc1cdbdaa89237a2a2d0b63"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_constraint_handler.html#add5028257a6639b20d8158a8d2a39f8b">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#add645da2ddc1cdbdaa89237a2a2d0b63">Features</a></td></tr>
<tr class="separator:add645da2ddc1cdbdaa89237a2a2d0b63 inherit pub_types_classshark_1_1_abstract_constraint_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b9ed60c324f540d803337da646a2116 inherit pub_types_classshark_1_1_abstract_constraint_handler" id="r_a9b9ed60c324f540d803337da646a2116"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_constraint_handler.html#add5028257a6639b20d8158a8d2a39f8b">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#a9b9ed60c324f540d803337da646a2116">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a9b9ed60c324f540d803337da646a2116 inherit pub_types_classshark_1_1_abstract_constraint_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_constraint_handler"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_constraint_handler')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_constraint_handler.html">shark::AbstractConstraintHandler&lt; Vector &gt;</a></td></tr>
<tr class="memitem:abd9bacdebce91be7f1e7ff1b9d9fc826 inherit pro_attribs_classshark_1_1_abstract_constraint_handler" id="r_abd9bacdebce91be7f1e7ff1b9d9fc826"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#add645da2ddc1cdbdaa89237a2a2d0b63">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_constraint_handler.html#abd9bacdebce91be7f1e7ff1b9d9fc826">m_features</a></td></tr>
<tr class="separator:abd9bacdebce91be7f1e7ff1b9d9fc826 inherit pro_attribs_classshark_1_1_abstract_constraint_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class Vector&gt;<br />
class shark::BoxConstraintHandler&lt; Vector &gt;</div><p>Handler for box-constraints. </p>
<p>Handles box-constraints i.e. function values in \( l_i &lt; x_i &lt; u_i \). </p>

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00046">46</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae234333cf7124b58f49a67b2bee42f61" name="ae234333cf7124b58f49a67b2bee42f61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae234333cf7124b58f49a67b2bee42f61">&#9670;&#160;</a></span>BoxConstraintHandler() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::BoxConstraintHandler </td>
          <td>(</td>
          <td class="paramtype">Vector const &amp;&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vector const &amp;&#160;</td>
          <td class="paramname"><em>upper</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00048">48</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_box_constraint_handler.html#a8de148cc2f808bb97a4538a0902fee5e">shark::BoxConstraintHandler&lt; Vector &gt;::lower()</a>, <a class="el" href="classshark_1_1_abstract_constraint_handler.html#abd9bacdebce91be7f1e7ff1b9d9fc826">shark::AbstractConstraintHandler&lt; Vector &gt;::m_features</a>, <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>, and <a class="el" href="classshark_1_1_box_constraint_handler.html#aa205d494b0ce2c7fa9fd05c2721939d2">shark::BoxConstraintHandler&lt; Vector &gt;::upper()</a>.</p>

</div>
</div>
<a id="a536349ab325db6fe2df852190f2b8d21" name="a536349ab325db6fe2df852190f2b8d21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a536349ab325db6fe2df852190f2b8d21">&#9670;&#160;</a></span>BoxConstraintHandler() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::BoxConstraintHandler </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>dim</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>upper</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00056">56</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_constraint_handler.html#abd9bacdebce91be7f1e7ff1b9d9fc826">shark::AbstractConstraintHandler&lt; Vector &gt;::m_features</a>.</p>

</div>
</div>
<a id="adfd93364ac568994b65108860a76435b" name="adfd93364ac568994b65108860a76435b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfd93364ac568994b65108860a76435b">&#9670;&#160;</a></span>BoxConstraintHandler() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::BoxConstraintHandler </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00064">64</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_constraint_handler.html#abd9bacdebce91be7f1e7ff1b9d9fc826">shark::AbstractConstraintHandler&lt; Vector &gt;::m_features</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a791747463fd86c8988f4caafda3b6e55" name="a791747463fd86c8988f4caafda3b6e55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a791747463fd86c8988f4caafda3b6e55">&#9670;&#160;</a></span>closestFeasible()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::closestFeasible </td>
          <td>(</td>
          <td class="paramtype">Vector &amp;&#160;</td>
          <td class="paramname"><em>point</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_constraint_handler.html#abb58033fab48e9ffd58021054f916c7f">shark::AbstractConstraintHandler&lt; Vector &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00083">83</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_box_constraint_handler.html#a280f8c3a860866242596e6e2ea3ff2b7">shark::BoxConstraintHandler&lt; Vector &gt;::dimensions()</a>, and <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>.</p>

</div>
</div>
<a id="a280f8c3a860866242596e6e2ea3ff2b7" name="a280f8c3a860866242596e6e2ea3ff2b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a280f8c3a860866242596e6e2ea3ff2b7">&#9670;&#160;</a></span>dimensions()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::dimensions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00071">71</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_box_constraint_handler.html#a791747463fd86c8988f4caafda3b6e55">shark::BoxConstraintHandler&lt; Vector &gt;::closestFeasible()</a>, <a class="el" href="classshark_1_1_box_constraint_handler.html#a7c5a1e0e7f1041abd44844d3e2083c12">shark::BoxConstraintHandler&lt; Vector &gt;::generateRandomPoint()</a>, <a class="el" href="classshark_1_1_box_constraint_handler.html#a3a87fd3165faee82fb59ab50ed7ad8aa">shark::BoxConstraintHandler&lt; Vector &gt;::isFeasible()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z1.html#a5ac72fec315b230134c4e93b43c1660b">shark::benchmarks::DTLZ1::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z2.html#a0a7350eb1f44ebccb87066dd4570aec4">shark::benchmarks::DTLZ2::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z3.html#adeb7a516bbe371d44132a04093190cca">shark::benchmarks::DTLZ3::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z4.html#a882ed27af77335bcd94c2fb4b53eaca5">shark::benchmarks::DTLZ4::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z5.html#a3818729cb70ef38dd1b116466209d22f">shark::benchmarks::DTLZ5::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z6.html#a00549558010e2f07325b203bffcf50f3">shark::benchmarks::DTLZ6::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z7.html#a1d7c37461d6793978f0859162f27ec65">shark::benchmarks::DTLZ7::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_fonseca.html#a3772896c7492c488c6e0994ebaf4c641">shark::benchmarks::Fonseca::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_g_s_p.html#a3a83eb2f4060f3b1a2a492581d81014f">shark::benchmarks::GSP::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_i_h_r1.html#ad2b921ea908c26b1fa16f8e68076b9d3">shark::benchmarks::IHR1::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_i_h_r2.html#a9d097fde181ff5ca770c0df9165ea418">shark::benchmarks::IHR2::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_i_h_r3.html#ae3344394dbc85b0d1bdb454f4fa98b81">shark::benchmarks::IHR3::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_i_h_r4.html#a00aea1c3de32b95777f13f60feeb798e">shark::benchmarks::IHR4::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_i_h_r6.html#a5c23b0a18a528488a158fc266836377f">shark::benchmarks::IHR6::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z1.html#a5ed5a457e1f2f871d315371069a3f3f3">shark::benchmarks::LZ1::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z2.html#a222d532b85ecee40106cad7a767755f2">shark::benchmarks::LZ2::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z3.html#a78a230402c7097c158c4ad889cd889bb">shark::benchmarks::LZ3::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z4.html#ad7e6b46715c5a4cab687366826da2f96">shark::benchmarks::LZ4::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z5.html#ad6061e51dc3c07513998776d486f8086">shark::benchmarks::LZ5::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z6.html#ad40e5e80996160d7e0cb77bf5619c1f3">shark::benchmarks::LZ6::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z7.html#ae41ce997faa816686d24661ea11c917a">shark::benchmarks::LZ7::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z8.html#a1395243b498e4ebe3e6d4eee2151303f">shark::benchmarks::LZ8::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z9.html#a2ac38a74fde39ec0642e1c71feee4312">shark::benchmarks::LZ9::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_z_d_t1.html#ac18d91f6077da5317987295c6adcf904">shark::benchmarks::ZDT1::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_z_d_t2.html#a4dd19370a57dd5d5d982c911a33c4d3a">shark::benchmarks::ZDT2::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_z_d_t3.html#abd21ed221bfb56dbb533fde235428496">shark::benchmarks::ZDT3::numberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_z_d_t4.html#a7b703e1f564caf681facbb3935cb0752">shark::benchmarks::ZDT4::numberOfVariables()</a>, and <a class="el" href="structshark_1_1benchmarks_1_1_z_d_t6.html#aa6482a31d5c7c9dfce3f3a3939c448ff">shark::benchmarks::ZDT6::numberOfVariables()</a>.</p>

</div>
</div>
<a id="a7c5a1e0e7f1041abd44844d3e2083c12" name="a7c5a1e0e7f1041abd44844d3e2083c12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c5a1e0e7f1041abd44844d3e2083c12">&#9670;&#160;</a></span>generateRandomPoint()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::generateRandomPoint </td>
          <td>(</td>
          <td class="paramtype">random::rng_type &amp;&#160;</td>
          <td class="paramname"><em>rng</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vector &amp;&#160;</td>
          <td class="paramname"><em>startingPoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>If supported, generates a random point inside the feasible region. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rng</td><td>The random number generator used for generating the point </td></tr>
    <tr><td class="paramname">startingPoint</td><td>The proposed point </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_constraint_handler.html#ae6d491f9552b1a1ce440e8c675db929b">shark::AbstractConstraintHandler&lt; Vector &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00091">91</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_box_constraint_handler.html#a280f8c3a860866242596e6e2ea3ff2b7">shark::BoxConstraintHandler&lt; Vector &gt;::dimensions()</a>, and <a class="el" href="namespaceshark_1_1random.html#a18f302ea18f70835c59935973ba8ea84">shark::random::uni()</a>.</p>

</div>
</div>
<a id="a3a87fd3165faee82fb59ab50ed7ad8aa" name="a3a87fd3165faee82fb59ab50ed7ad8aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a87fd3165faee82fb59ab50ed7ad8aa">&#9670;&#160;</a></span>isFeasible()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::isFeasible </td>
          <td>(</td>
          <td class="paramtype">Vector const &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if the point is in the feasible Region. </p>
<p>This function must be implemented by a ConstraintHandler </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_constraint_handler.html#aeef35996d9bc707be399480e8e0c1f82">shark::AbstractConstraintHandler&lt; Vector &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00075">75</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_box_constraint_handler.html#a280f8c3a860866242596e6e2ea3ff2b7">shark::BoxConstraintHandler&lt; Vector &gt;::dimensions()</a>, and <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>.</p>

</div>
</div>
<a id="a8de148cc2f808bb97a4538a0902fee5e" name="a8de148cc2f808bb97a4538a0902fee5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8de148cc2f808bb97a4538a0902fee5e">&#9670;&#160;</a></span>lower()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector const  &amp; <a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::lower </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the lower bound of the box. </p>

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00111">111</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_box_constraint_handler.html#ae234333cf7124b58f49a67b2bee42f61">shark::BoxConstraintHandler&lt; Vector &gt;::BoxConstraintHandler()</a>, <a class="el" href="classshark_1_1_indicator_based_real_coded_n_s_g_a_i_i.html#aa7be0351f6549d3a2c25405c10c28d3e">shark::IndicatorBasedRealCodedNSGAII&lt; Indicator &gt;::init()</a>, <a class="el" href="classshark_1_1_s_m_s_e_m_o_a.html#ac3c42fb3fa621d61e42c0d8cfa3de003">shark::SMSEMOA::init()</a>, <a class="el" href="classshark_1_1_box_constraint_handler.html#a8b6f3e142b99c89efb273b6b339ceb98">shark::BoxConstraintHandler&lt; Vector &gt;::setBounds()</a>, and <a class="el" href="classshark_1_1_box_constraint_handler.html#a51bcb77430772e37ab1b464196e5e3a7">shark::BoxConstraintHandler&lt; Vector &gt;::setBounds()</a>.</p>

</div>
</div>
<a id="a8b6f3e142b99c89efb273b6b339ceb98" name="a8b6f3e142b99c89efb273b6b339ceb98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b6f3e142b99c89efb273b6b339ceb98">&#9670;&#160;</a></span>setBounds() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::setBounds </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>dimension</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>upper</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets lower and upper bounds of the box. </p>

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00106">106</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_box_constraint_handler.html#a8de148cc2f808bb97a4538a0902fee5e">shark::BoxConstraintHandler&lt; Vector &gt;::lower()</a>, and <a class="el" href="classshark_1_1_box_constraint_handler.html#aa205d494b0ce2c7fa9fd05c2721939d2">shark::BoxConstraintHandler&lt; Vector &gt;::upper()</a>.</p>

</div>
</div>
<a id="a51bcb77430772e37ab1b464196e5e3a7" name="a51bcb77430772e37ab1b464196e5e3a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51bcb77430772e37ab1b464196e5e3a7">&#9670;&#160;</a></span>setBounds() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::setBounds </td>
          <td>(</td>
          <td class="paramtype">Vector const &amp;&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vector const &amp;&#160;</td>
          <td class="paramname"><em>upper</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets lower and upper bounds of the box. </p>

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00100">100</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_box_constraint_handler.html#a8de148cc2f808bb97a4538a0902fee5e">shark::BoxConstraintHandler&lt; Vector &gt;::lower()</a>, <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>, and <a class="el" href="classshark_1_1_box_constraint_handler.html#aa205d494b0ce2c7fa9fd05c2721939d2">shark::BoxConstraintHandler&lt; Vector &gt;::upper()</a>.</p>

<p class="reference">Referenced by <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z1.html#a9b705752392171e88c5fc30d72e0fe0b">shark::benchmarks::DTLZ1::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z2.html#ab3a98b7bf9aed8be1dc0e20b5d0ed9c2">shark::benchmarks::DTLZ2::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z3.html#a6c5ba342ef6b84b7262ff89d02872e47">shark::benchmarks::DTLZ3::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z4.html#ad8068db643545c44e3ee8e4452f47927">shark::benchmarks::DTLZ4::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z5.html#a87a84eb1074c42742262798c3bebcdbe">shark::benchmarks::DTLZ5::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z6.html#a9c238ca026aa03406e7014c6bd3e77f7">shark::benchmarks::DTLZ6::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_d_t_l_z7.html#abd3c1f0abf9314cc142b463728e453fe">shark::benchmarks::DTLZ7::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_fonseca.html#a83c3656d7e090e71639fd7824b08df38">shark::benchmarks::Fonseca::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_g_s_p.html#a3ffa87256f022adaf2ea5550fe82bbcc">shark::benchmarks::GSP::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_i_h_r1.html#a7d7411aaf649d927553cb2d6156a03fa">shark::benchmarks::IHR1::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_i_h_r2.html#a3a5011b68b171bdc2be98af7341268dc">shark::benchmarks::IHR2::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_i_h_r3.html#a98623bb1e0c589311d7b7afa3407841d">shark::benchmarks::IHR3::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_i_h_r4.html#abec78a694e72d39d504a7d825924c15f">shark::benchmarks::IHR4::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_i_h_r6.html#ab2f79a4278218e5102d362747da8c5b6">shark::benchmarks::IHR6::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z1.html#abca225f6c07e9197a81387bd2b8a7956">shark::benchmarks::LZ1::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z2.html#a0894f1c66ee4d1d5128c17c873914e48">shark::benchmarks::LZ2::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z3.html#a99ba4f806ab92be2fea0bc45a94ed6bf">shark::benchmarks::LZ3::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z4.html#ac63798bae88bfb54ebc4238dc9d2a71c">shark::benchmarks::LZ4::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z5.html#a67f0adb7c9e7d5a8b28d0b480b88abd8">shark::benchmarks::LZ5::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z6.html#a51935e21dc6be70cdba62801cc18c935">shark::benchmarks::LZ6::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z7.html#a0bc46c9f0eece90a502842fb0f2b7109">shark::benchmarks::LZ7::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z8.html#a1781e54fe9d25e30cd1d48437136c1f3">shark::benchmarks::LZ8::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_l_z9.html#a3f7fa209d4eb376eaadf50896f926e6c">shark::benchmarks::LZ9::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_z_d_t1.html#a4d209eae48ca91e0beed768aad6d4ae8">shark::benchmarks::ZDT1::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_z_d_t2.html#a100b9743150d1dc27eec69c981073d45">shark::benchmarks::ZDT2::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_z_d_t3.html#a29ba3e223e291dc0f8455834d313619d">shark::benchmarks::ZDT3::setNumberOfVariables()</a>, <a class="el" href="structshark_1_1benchmarks_1_1_z_d_t4.html#ad838c97f536e2865e41c9c1e93b3d39b">shark::benchmarks::ZDT4::setNumberOfVariables()</a>, and <a class="el" href="structshark_1_1benchmarks_1_1_z_d_t6.html#a30584cda90fe58844c469b2c558af99d">shark::benchmarks::ZDT6::setNumberOfVariables()</a>.</p>

</div>
</div>
<a id="aa205d494b0ce2c7fa9fd05c2721939d2" name="aa205d494b0ce2c7fa9fd05c2721939d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa205d494b0ce2c7fa9fd05c2721939d2">&#9670;&#160;</a></span>upper()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector const  &amp; <a class="el" href="classshark_1_1_box_constraint_handler.html">shark::BoxConstraintHandler</a>&lt; Vector &gt;::upper </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the upper bound of the box. </p>

<p class="definition">Definition at line <a class="el" href="_box_constraint_handler_8h_source.html#l00115">115</a> of file <a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_box_constraint_handler.html#ae234333cf7124b58f49a67b2bee42f61">shark::BoxConstraintHandler&lt; Vector &gt;::BoxConstraintHandler()</a>, <a class="el" href="classshark_1_1_box_constraint_handler.html#a8b6f3e142b99c89efb273b6b339ceb98">shark::BoxConstraintHandler&lt; Vector &gt;::setBounds()</a>, and <a class="el" href="classshark_1_1_box_constraint_handler.html#a51bcb77430772e37ab1b464196e5e3a7">shark::BoxConstraintHandler&lt; Vector &gt;::setBounds()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/ObjectiveFunctions/<a class="el" href="_box_constraint_handler_8h_source.html">BoxConstraintHandler.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
